<?php 
include CORE_DIR."manage/default.php";
?>
<H2>
Order Details
</H2>


<form action = "<?=base_url().'/page/customize/'.$record['item_id']?>" method="post" target="_blank">

	<div >
	   	<div >
   		<form id="customizedForm" action="" method="post">
   			<input type="hidden" name="action" value="viewcustomizedorder"/>
   		<?php forEach($CUSTOMREFERENCE['order_details'] as $rec){ ?>
   			<input type="hidden" name="item_section_color_<?=$rec['real_item_section_id']?>" value="<?=$rec['color']?>"/>
   		<?php } ?>
   		<input type="submit" >
   		</form>
   	</div>
	<table>
   			<?php forEach($CUSTOMREFERENCE['order_details'] as $record){ 
   			?>
   			<tr><td colspan="4"><hr><h1><?=humanize($record['item_section_id'])?>-----<?=humanize($record['color'])?></h1><hr></td></tr>
   			<?php }?>
   	</table>
</form>
